<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>标签的位置</title>
	</head>
	<script type="text/javascript">
		function headFn(){
			alert("在head中的函数！")
		}
	</script>
	<body>
		<button type="button" onclick="headFn()">点击</button>
	</body>
</html>
